<template>
  <div class="qf-dialog">
    <div class="box">
      <header>
        <h2>标题</h2>
        <span @click="$emit('close')">x</span>
      </header>
      <hr />
      <main>
        <slot></slot>
      </main>
      <hr />
      <footer>
        <slot name="footer"></slot>
      </footer>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style></style>
